*{
    margin: 0;
    padding: 0;
}
a{
    color: #000;
}
.top {
    width: 100%;
    height: 40px;
    background-color: #666;
    a {
        font-size: 12px;
        color: #fff;
        text-decoration: none;
        line-height: 40px;
        font-family: 宋体
    }
    .left-content {
        width: 92px;
        margin-left: 145px;
        float: left;
        .left-content-a {
            float: right
        }
    }
    .right-content {
        list-style: none;
        float: right;
        font-size: 12px;
        margin-right: 92px;
        li {
            float: left
        }
        .right-content-1 {
            width: 77px
        }
        .right-content-2 {
            width: 47px;
            padding: 0 11px
        }
        .right-content-3 {
            width: 60px;
            margin-left: 11px
        }
        .right-content-4 {
            width: 46px;
            padding: 0 11px;
        }
    }
}

#nav {
    width: 100%;
    height: 220px;
    border-bottom: 1px solid #ccc;
    #wrapper {
        width: 1190px;
        margin: 0 auto;
        height: 220px;
        position: relative;
        #logo {
            width: 98px;
            height: 58px;
            padding: 55px 0;
            margin: 0 auto
        }
        #inner {
            width: 1190px;
            height: 50px;
            background-color: #fff;
            z-index: 2;
            #inner_nav {
                list-style: none;
                width: 930px;
                height: 50px;
                float: left;
                li {
                    float: left;
                    padding: 15px;
                    a {
                        width: 80px;
                        height: 20px;
                        display: block;
                        text-decoration: none;
                        font-weight: 700;
                        color: #333;
                        font-size: 20px
                    }
                }
            }
            #inp {
                width: 180px;
                height: 25px;
                float: left;
                margin-top: 15px;
                margin-left: 80px;
                input {
                    width: 160px;
                    height: 20px;
                    border: none;
                    border-bottom: 1px solid #333
                }
                icon {
                    background: url(../img/精灵图.jpg)
                }
                
            }
        }
    }
}

#local {
    width: 1190px;
    height: 60px;
    margin: 0 auto;
    margin-top: 3px;
    margin-bottom: 3px;
    line-height: 60px;
    font-size: 12px;
    color: #666;
    a {
        text-decoration: none;
        color: #666
    }
}

main{
    width: 1190px;
    height: 100%;
    // background-color: pink;
    margin: 0 auto;
    #left-goods{
        width: 605px;
        height: 605px;
        float: left;
        #small-img{
            width: 75px;
            height:497px;
            list-style: none;
            float: left;
            li{
                width: 65px;
                height: 65px;
                border: 1px solid #eee;
                margin-top: 5px;
                img{
                    margin: 3px 0 0 3px;
                    width: 60px;
                    height: 60px;
                }
            }
        }
        #big-img{
            width: 485px;
            height: 485px;
            float: left;
            position: relative;
            // img{
            //     width: 485px;
            //     height: 485px;
            // }
            .mark{
                width: 100%;
                height: 100%;
                background-color: red;
                filter: alpha(opacity = 0);
                opacity:0;
                position:absolute;
                top: 0;
                left: 0;
                z-index: 2;
            }
            .float_layer{
                width: 225.6px;
                height: 211.2px;
                border: 1px solid #000;
                background: #fff;
                filter: alpha(opacity= 30);
                opacity: 0.3;
                position: absolute;
                top: 0;
                left: 0;
                display: none;
                cursor: crosshair;
            }
        }
        #zoom-img{
            width: 400px;
            height: 400px;
            overflow: hidden;
            float: left;
            position: absolute;
            left: 768px;
            border: 1px solid #ccc;
            display: none;
            img{
                position: absolute;
                top: -30px;
                left: -80px;
                width: 1000px;
                height: 1000px;
            }
        }
    }
    #right-details{
        float: left;
        width: 528px;
        height: 659px;
        padding-left: 57px;
        // background-color: red; 
        #good-logo{
            width: 112px;
            height: 52px;
        }
        #good-name{
            font-size: 16px;
            margin-top: 25px;
            width: 528px;
            height: 48px;
            color: #333;
        }
        #good-price{
            width: 528px;
            height: 69px;
            padding-top: 40px;
            span:nth-child(1){
                font-size: 30px;
                font-weight: bold;
            }
            span:nth-child(2){
                text-decoration: line-through;
                font-size: 12px;
            }
            span:nth-child(3){
                font-size: 12px;
                font-weight: bold;
                margin-left: 10px;
            }
        }
        #good-seckill{
            width: 528px;
            height: 24px;
            // background-color: pink;
            font-size: 12px;
            #kill{
                // display: block;
                width: 46px;
                height: 16px;
                background-color: #333;
                color: white;
            }
            #kill-time{
                margin-left: 5px;
            }
            #kill-more{
                margin-left: 5px;
            }
        }
        #line{
            width: 528px;
            border-bottom: 1px solid #333;
            margin-top: 40px;
            margin-bottom: 15px;
        }
        #good-color{
            width: 528px;
            height: 48px;
            color: #333;
            font-size: 12px;
            span:nth-child(1){
                display: block;
                float: left;
            }
            span:nth-child(2){
                display: block;
                float: left;
                width: 40px;
                height: 40px;
                border: 1px solid black;
                img{
                    width: 40px;
                    height: 40px;
                }
            }
            span:nth-child(3){
                display: block;
                float: left;
                width: 40px;
                height: 40px;
                border: 1px solid black;
                margin-left: 5px;
                img{
                    width: 40px;
                    height: 40px;
                }
            }
        }
        #good-size{
            width: 528px;
            height: 32px;
            line-height: 32px;
            font-size: 12px;
            color: #333;
            span:nth-child(1){
                display: block;
                float: left;
            }
            .child{
                display: block;
                float: left;
                width: 40px;
                height: 20px;
                border: 1px solid #ccc;
                line-height: 20px;
                text-align: center;
                margin-right: 5px;
                margin-top: 5px;
            }
            .child:hover{
                border: 1px solid #333;
            }
            #size-table{
                float: right;
            }
        }
        #good-num{
            width: 528px;
            height: 37px;
            margin-top: 25px;
            // background-color: red;
            font-size: 12px;
            color: #333;
            span:nth-child(1){
                display: block;
                float: left;
            }
            .icon_inp{
                width: 30px;
                height: 30px;
                font-size: 14px;
                color: #666;
                border: 1px solid #666;
                display: block;
                float: left;
                text-align: left;
                line-height: 30px;
            }
            .iconfont{
                display: block;
                width: 34px;
                height: 30px;
                float: left;
                margin-left: 5px;
                .top{
                    background:url(../img/精灵图.jpg) -119px -105px ;
                    width: 18px;
                    height: 14px;
                }
                .bottom{
                    background:url(../img/精灵图.jpg) -86px -142px ;
                    width: 18px;
                    height: 14px;
                    margin-top: 2px;
                }
                .top:hover{
                    background: url(../img/精灵图.jpg) -49px -142px;
                }
                .bottom:hover{
                    background: url(../img/精灵图.jpg) -10px -142px;
                }
            }
        }
        #pay{
            width: 528px;
            height: 48px;
            margin-top: 30px;
            #add-cart,#buy-now{
                width: 222px;
                height: 46px;
                border: 1px solid #ccc;
                float: left;
                margin-right: 20px;
                text-align: center;
                line-height: 46px;
                font-size: 20px;
                color: #000;
            }
            #add-cart{
                background-color: #333;
                color: #fff;
            }
        }
        #share{
            width: 528px;
            height: 20px;
            margin-top: 30px;
            font-size: 12px;
            span{
                display: block;
                float: left;
            }
            span:nth-child(1){
                width: 20px;
                height: 11px;
                background: url(../img/精灵图.jpg) -38px -245px;
                margin-top: 3px;
            }
            span:nth-child(3){
                width: 20px;
                height: 11px;
                background: url(../img/精灵图.jpg) -10px -175px;
                margin-left: 10px;
                margin-top: 2px;
            }
        }
    }
    #good-details{
        width: 1190px;
        height: 251px;
        float: left;
        #info-title{
            width: 1190px;
            height: 48px;
            font-size: 32px;
            color: #333;
            text-align: center;
            font-weight: 400;
        }
        table{
            width: 100%;
            table-layout: fixed;
            border-collapse: collapse;
            border-spacing: 0;
            tbody{
                display: table-row-group;
                vertical-align: middle;
                border-color: inherit;
                tr{
                    text-align: left;
                    border-bottom: 1px solid #eee;
                    td{
                        line-height: 80px;
                        text-align: left;
                        font-size: 12px;
                        color: #666;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        overflow: hidden;
                    }
                }
            }
        }
    }
    #size-details{
        width: 1190px;
        height: 583px;
        float: left;
        #info-name{
            width: 1190px;
            height: 48px;
            font-size: 32px;
            color: #333;
            text-align: center;
            font-weight: 400;
        }
        table{
            width: 100%;
            table-layout: fixed;
            border-collapse: collapse;
            border-spacing: 0;
            tbody{
                display: table-row-group;
                vertical-align: middle;
                border-color: inherit;
                tr{
                    text-align: left;
                    border-bottom: 1px solid #eee;
                    td{
                        line-height: 80px;
                        text-align: left;
                        font-size: 12px;
                        color: #666;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        overflow: hidden;
                    }
                }
            }
        }
    }
    #good-info{
        width: 1190px;
        height: 6296px;
        float: left;
        #info-name{
            width: 1190px;
            height: 48px;
            font-size: 32px;
            color: #333;
            text-align: center;
            font-weight: 400;
        }
        img{
            display: block;
            margin: 0 auto;
        }
        #brand{
            width: 990px;
            height: 386px;
            margin: 0 auto;
            margin-top: 140px;
            font-size: 12px;
        }
    }
    #good-recommend{
        width: 1190px;
        height: 208px;
        float: left;
        margin-top: 130px;
        #info-name{
            width: 1190px;
            height: 48px;
            font-size: 32px;
            color: #333;
            text-align: center;
            font-weight: 400;
        }
        #inner{
            height: 100px;
            width: 1190px;
            font-size: 12px;
            color: #666;
            padding-top: 20px;
            padding-left: 30px;
            .black{
                background-color: #000;
                color: white;
            }
        }
    }
    #like{
        width: 1190px;
        height: 48px;
        float: left;
        #like-name{
            width: 1190px;
            height: 48px;
            font-size: 32px;
            color: #333;
            text-align: center;
            font-weight: 400;
        }
    }
    #scroll-img{
        float: left;
        width: 1190px;
        height: 384px;
        margin-top: 102px;
        margin-bottom: 140px;
        background-color: red;
        ul{
            margin-left: 35px;
            margin-right: 35px;
            list-style: none;
            li{
                float: left;
                width: 230px;
                height: 382px;
                background-color: pink;
                margin-left: 24px;
                margin-right: 24px;
                position: relative;
                img:nth-child(1){
                    width: 210px;
                    height: 210px;
                    vertical-align: middle;
                }
                img:nth-child(2){
                    width: 54px;
                    height: 24px;
                    margin-top: 10px;
                }
            }
        }
    }
}

.sale {
    width: 100%;
    height: 115px;
    background-color: #000;
    ul {
        display: flex;
        li {
            font-size: 18px;
            margin-left: 30px;
            line-height: 115px;
            color: #f0f8ff
        }
    }
}

.buttom {
    height: 521px;
    width: 100%;
    background-color: #000
}

.buttom-area {
    padding: 30px;
    ul {
        display: flex;
        li {
            margin-right: 100px
        }
    }
}


.dd1,
.dd2 {
    margin-top: 20px;
    color: gray
}

.buttom-code {
    padding: 30px;
    display: flex;
    padding-top: 0;
    padding-bottom: 0
}

.content-item {
    display: flex;
    li {
        margin-right: 30px;
        margin-top: 150px
    }
}

.content-code {
    display: flex;
    li {
        margin-right: 30px;
        margin-top: 75px;
        color: azure;
        a {
            display: flex;
            flex-direction: column
        }
    }
}

.butom-link {
    display: flex;
    padding: 0 30px 10px;
    li {
        color: azure;
        margin-right: 20px
    }
}

.zishiy3 {
    background-color: #000;
    position: relative
}

.zishiy2 {
    width: 1263px;
    margin: 0 auto
}

.hengxian {
    width: 100%;
    height: 1px;
    background-color: #f0f8ff;
    position: absolute;
    top: 110px
}